package cn.edu.nuc.ssm.services.interfaces;

import cn.edu.nuc.ssm.entity.User;

public interface UserService {
	/**
	 * 用户登录
	 * @param uname
	 * @param upwd
	 * @return
	 */
	User login(String uname,String upwd);
	
	/**
	 * 用户注册
	 * @param user
	 * @return
	 */
	int register(User user);
}
